import { Card } from "./Card";
import { Hero } from "./Hero";

export interface ModuleOptions {
	cards: Card[];
	heroes: Hero[];
	moduleName: string;
}

export class ModelModule {
	constructor(private moduleOptions: ModuleOptions) {}

	get provide() {
		return {
			card: this.moduleOptions.cards,
			hero: this.moduleOptions.heroes,
			moduleName: this.moduleOptions.moduleName
		};
	}

	provideCard() {
		return this.moduleOptions.cards;
	}

	privideHero() {
		return this.moduleOptions.heroes;
	}

	privideName() {
		return this.moduleOptions.moduleName;
	}
}
